package _17作业._接口t2;

public class BwmMotor extends Motorcycle implements Gps {
    @Override
    public void gps() {
        System.out.println("GPS功能");
    }

    public BwmMotor() {
    }

    public BwmMotor(String brand, double price) {
        super(brand, price);
    }

    @Override
    public void run() {
        System.out.println("宝马摩托车运行");
    }
}
